import request from '@/utils/request'

// 查询月度形象图列表
export function listMonthImage(query) {
  return request({
    url: '/project/monthImage/list',
    method: 'get',
    params: query
  })
}

// 查询月度形象图详细
export function getMonthImage(imageId) {
  return request({
    url: '/project/monthImage/' + imageId,
    method: 'get'
  })
}

// 新增月度形象图
export function addMonthImage(data) {
  return request({
    url: '/project/monthImage',
    method: 'post',
    data: data
  })
}

// 修改月度形象图
export function updateMonthImage(data) {
  return request({
    url: '/project/monthImage',
    method: 'put',
    data: data
  })
}

// 删除月度形象图
export function delMonthImage(imageId) {
  return request({
    url: '/project/monthImage/' + imageId,
    method: 'delete'
  })
}
